/* 整体样式重置，尽量避免全局影响 */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body img {
    max-width: 100%;
    height: auto;
}

/* 顶部样式 */
.top {
    width: 100%;
    height: 40px;
    color: #636363;
    display: flex;
    font-size: 14px;
    text-align: center;
    position: fixed;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px #e1e1e1 solid;
}

.lefts {
    width: 65px;
    height: 25px;
    margin-left: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px #d4d4d4 solid;
    border-radius: 20px;
}

.lefts img {
    width: 15px;
    height: 15px;
}

.line {
    width: 1px;
    height: 60%;
    background-color: #d7c3ac;
}

#hourse {
    width: 20px;
    height: 20px;
}

/* 顶部返回样式 */
.backHome {
    width: 18%;
    display: flex;
    height: 25px;
    line-height: 25px;
    border-radius: 25px;
    margin-top: 1.5%;
    margin-left: 4%;
    position: absolute;
    z-index: 5;
    border: 1px solid rgb(153, 153, 153);
}

.backHome-left {
    height: 20px;
    text-align: center;
    margin-top: 3px;
    border-right: 1px solid rgb(153, 153, 153);
}

.backHome-right {
    height: 24px;
    text-align: center;
    margin-top: 3px;
}

.backHome img {
    width: 50%;
}

.head {
    width: 100%;
    height: 40px;
    text-align: center;
    position: absolute;
    top: 0;
    line-height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
}

.headleft img {
    width: 3vh;
    height: 3vh;
}

.headleft {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 3vh;
    height: 25px;
    width: 10vh;
    border: 1px solid #e2e2e2;
}

.headdiv {
    padding-left: 2vh;
    width: 51%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 抽奖按钮样式 */
.activetime {
    position: absolute;
    top: 223px;
    color: rgb(186, 55, 84);
    font-size: 10px;
    width: 60%;
    left: 20%;
    text-align: center;
}

.prizeModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.prizeModalContent {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.prizeModalTitle {
    margin-bottom: 20px;
}

.prizeModalButton {
    padding: 4px 11px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.prizeModalButton:hover {
    background-color: #0056b3;
}

#butt {
    width: 80px;
    height: 80px;
    position: absolute;
    left: 36%;
    top: 36%;
}

.prizeitem {
    width: 80px;
    height: 80px;
    display: flex;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.active {
    background-color: #FFC300;
    color: #fff;
}

/* 中奖列表样式 */
.bodybottom {
    width: 94%;
    padding: 0 3%;
    height: 30px;
    position: absolute;
    top: 80%;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #505050;
}

.bodybottom img {
    width: 18px;
    height: 18px;
}

.bodybottom div {
    display: flex;
}

/* actives.module.css */
/* 其他样式保持不变 */

.imageWrapper {
    position: relative;
}

.backgroundImage {
    width: 100%;
    height: auto;
    display: block;
}

.recordsContainer {
    position: absolute;
    top: 95%;
    left: 5%;
    height: 270px;
    overflow: scroll;
    width: 90%;
    background: rgba(255, 255, 255, 0.8);
    /* 半透明背景 */
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 标题 */
.recordsTitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 表头 */
.recordsHeader {
    display: grid;
    grid-template-columns: 50px 1fr 1fr 1fr;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* 记录列表 */
.recordsList {
    max-height: 300px;
    overflow-y: auto;
}

/* 记录行 */
.recordRow {
    display: grid;
    grid-template-columns: 50px 1fr 1fr 1fr;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

/* 单元格 */
.headerCell,
.recordCell {
    padding: 5px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 查看更多 */
.viewMore {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    color: #1890ff;
    cursor: pointer;
}

.viewMore img {
    width: 16px;
    height: 16px;
    margin-left: 5px;
}

.boxmax {
    width: 100%;
}

.table_bottom_child {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

/* 提示样式 */
.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 15;
    display: none;
}

.prize-his {
    width: 50%;
    height: 100px;
    margin-left: 25%;
    background-color: #fff;
    position: absolute;
    top: 40%;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
}

.prize-title {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.but {
    width: 100%;
    height: 20%;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
}

.sure {
    color: rgb(91, 160, 234);
}

/* 查看攻略样式 */
#content {
    width: 72%;
    padding: 2%;
    height: 250px;
    background-color: white;
    position: fixed;
    top: 31%;
    z-index: 6;
    left: 12%;
    border-radius: 5px;
    display: none;
}

/* 幕帘样式 */
#shadows {
    width: 100%;
    display: none;
    height: 100%;
    position: fixed;
    top: 0%;
    z-index: 5;
    background-color: rgba(166, 166, 166, 0.5);
}

.content h3 {
    text-align: center;
    margin: 10px 0;
}

.contentchild {
    width: 100%;
    height: 150px;
    font-size: 12px;
    color: #505050;
    line-height: 18px;
}

.contentchildone {
    width: 100%;
    height: 50px;
    display: flex;
    position: absolute;
    bottom: 0;
    border-top: 0.5px solid #cbcbcb;
}

.content_childone>div {
    width: 50%;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

/* 查看攻略确定样式 */
#confirm {
    color: #FFC300;
    border-left: 0.5px solid #cbcbcb;
}

.table-one {
    width: 15%;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-two {
    width: 25%;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-three {
    width: 25%;
    height: 25px;
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
}

.table-four {
    width: 25%;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.masks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 5;
    display: none;
}

.acitvecon {
    width: 72%;
    padding: 2%;
    height: auto;
    background-color: white;
    position: fixed;
    top: 31%;
    z-index: 16;
    left: 12%;
    border-radius: 5px;
}

/* 全屏阴影样式 */
.acitve-con>h3 {
    text-align: center;
    margin: 10px 0;
}

.content_child {
    width: 100%;
    height: auto;
    padding-bottom: 55px;
    font-size: 12px;
    color: #505050;
    line-height: 18px;
}

.content_childone {
    width: 100%;
    height: 50px;
    background-color: #fff;
    display: flex;
    position: absolute;
    bottom: 0;
    right: 0.032%;
    border-radius: 0 0 5px 5px;
    border-top: 0.5px solid #cbcbcb;
    z-index: 20;
}

.content_childone>div {
    width: 50%;
    height: 50px;
    border-radius: 0 0 5px 0;
    text-align: center;
    line-height: 50px;
}

/* 查看攻略确定样式 */
.confirm {
    color: #FFC300;
    border-left: 0.5px solid #cbcbcb;
}

.backgroundImage {
    width: 100%;
    height: 140vh;
}

/* styles.module.css */
.gridContainerDiv {
    width: 100%;
    position: absolute;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    top: 39%;
}

.gridContainer {
    display: grid
;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 74%;
    margin-left: 13%;
}

.prizeItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 5px;
    width: 60%;
    margin-left: 20%;
}

.prizeItem img {
    width: 45px;
    height: 40px;
    margin-bottom: 10px;
    margin-top: 3px;
}
.pause {
    width: 40px;
    background-color: #FE5F5E;
    border-radius: 5px;
    margin-left: 50px;
    color: #fff;
    border: #FE5F5E 1px solid;
}
.begin {
    width: 40px;
    background-color: #007bff;
    border-radius: 5px;
    color: #fff;
    margin-right: 50px;
    border: #007bff 1px solid;
}

.centerButton {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.startButton {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ff4d4f;
    color: white;
    border: none;
    font-size: 14px;
}

.active {
    background-color: #fff566;
    box-shadow: 0 0 10px gold;
}

.strategyModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 225px;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    text-align: center;
}

.quxiao {
    width: 50%;
    height: 50px;
    border-radius: 0 0 5px 0;
    text-align: center;
    line-height: 50px;
}

.confirm {
    width: 50%;
    height: 50px;
    border-radius: 0 0 5px 0;
    text-align: center;
    line-height: 50px;
}

.strategyModal button {
    margin: 10px;
    padding: 8px 16px;

    border-radius: 4px;
    cursor: pointer;
}